* {
    box-sizing: border-box;
}

html,
body {
    background: #f2f5fb;
    padding-bottom: 30px;
}

:root {
    --color: #2051e2;
    --textColor: #666;
    --borderColor: #ddd;
}

.card {
    background: #fff;
    padding: 25px;
    max-width: 1020px;
    width: 90%;
    margin: auto;
    border-radius: 10px;
    box-shadow: 0 10px 59px 0 rgba(32, 91, 226, 0.15);
}

.item {
    background: #f2f5fb;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    margin-bottom: 20px;
    color: var(--textColor);
}

.title {
    font-size: 27px;
    text-align: center;
    margin-top: 30px;
    line-height: 110px;
    margin-bottom: 0;
}

.input {
    width: 100%;
    height: 45px;
    border-radius: 5px;
    border: 1px solid var(--borderColor);
    font-size: 15px;
    background: #fff;
    padding-left: 15px;
    flex: 1;
}

.input:last-child {
    margin-right: 0;
}

.content,
.pdf-viewer,
.content-png {
    display: none;
}

.content-png .png-item {
    margin-bottom: 15px;
}

.content-png .png-item img {
    object-fit: cover;
    max-width: 300px;
    height: 400px;
}

.input-card {
    background: #fafafa;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #e5e5e5;
    margin-bottom: 20px;
    border-radius: 7px;
    padding-top: 45px;
    padding-bottom: 45px;
}

.input-card::before {
    content: "";
    position: absolute;
    width: calc(100% - 17px);
    height: calc(100% - 17px);
    border-radius: 7px;
    border: 2px dashed #e5e5e5;
}

.file-input {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    cursor: pointer;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: 3;
}

.file-warp {
    height: 110px;
    width: 95px;
    position: relative;
    border-radius: 5px;
    background: var(--color);
    clip-path: polygon(0 0, calc(100% - 30px) 0, 100% 30px, 100% 100%, 0 100%);
}

.file-warp::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 30px;
    height: 30px;
    border-radius: 5px;
    background: #89a3ee;
}

.file-content {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    line-height: 110px;
    font-weight: 700;
    text-align: center;
    color: #fff;
    font-size: 40px;
}

.file-btn {
    position: absolute;
    z-index: 7;
    cursor: pointer;
    background: #f00;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    top: 40px;
    right: calc(100% / 2 - 110px / 2);
}

.file-btn::before,
.file-btn::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    margin: auto;
    background: #fff;
    transform: rotate(45deg);
}

.file-btn::before {
    width: 15px;
    height: 2px;
}

.file-btn::after {
    width: 2px;
    height: 15px;
}

.no-file button {
    display: block;
    margin: auto;
}

.no-file p {
    text-align: center;
    font-size: 16px;
    color: var(--textColor);
}

.has-file {
    display: none;
}

.dialog {
    position: fixed;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    z-index: 9999;
    display: none;
    background: rgba(0, 0, 0, .5);
}

.dialog-main {
    position: fixed;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    margin: auto;
    width: 130px;
    height: 130px;
    color: #fff;
    text-align: center;
    border-radius: 10px;
    box-sizing: border-box;
    overflow: hidden;
    box-shadow: 0 0 10px 0 rgb(0, 0, 0, .1);
}

/*@keyframes rotate {*/
/*	0%{*/
/*		transform: rotate(0);*/
/*	}*/
/*	100%{*/
/*		transform: rotate(360deg);*/
/*	}*/
/*}*/

.dialog-main img {
    display: block;
    margin: auto;
    width: 100%;
    height: 100%;
}